﻿using MagicOnion;
using MessagePack;

namespace AllServer.Share;

public interface IProxyGrpcService : IService<IProxyGrpcService>
{
    UnaryResult<bool> IsProxy(int memberId);

    UnaryResult<ProxyInfo> GetProxy(int memberId);
}

[MessagePackObject(true)]
public class ProxyInfo
{
    public int ProxyId { get; set; }
    public string ProxyName { get; set; }
}


